package com.ysxsoft.wdg.bean.response;

import java.io.Serializable;
import java.util.List;

public class PinOrderResponse implements Serializable{


    /**
     * code : 200
     * ms : 成功
     * data : [{"status":2,"orderid":329,"dsn":"20181119093338856750","account":"20.00","endtime":1542598418,"istuan":0,"tuanid":29,"need_num":0,"yun":"0.00","addtime":"2018-11-19 09:33:38","paytime":"2018-11-19 09:33:41","addressid":115,"ca_num":-1,"ca_time":-82304,"total_num":1,"detail":[{"rule_name":"白色","price":"50.00","l_price":"20.00","name":"团购1","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181109/b8cd0d32a3cff5fd77721ae2e43f5058.png","detailid":323,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}},{"status":2,"orderid":328,"dsn":"20181119093211173553","account":"20.00","endtime":1542598331,"istuan":0,"tuanid":28,"need_num":2,"yun":"0.00","addtime":"2018-11-19 09:32:11","paytime":"2018-11-19 09:32:13","addressid":115,"ca_num":1,"ca_time":-82391,"total_num":1,"detail":[{"rule_name":"白色","price":"22.00","l_price":"20.00","name":"团购2","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181107/258e04d4e692e840a664bf52006f8977.png","detailid":322,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}},{"status":1,"orderid":327,"dsn":"20181119093035850616","account":"20.00","endtime":1542598235,"istuan":0,"tuanid":27,"need_num":2,"yun":"0.00","addtime":"2018-11-19 09:30:35","paytime":"2018-11-19 09:30:39","addressid":115,"ca_num":1,"ca_time":-82487,"total_num":1,"detail":[{"rule_name":"白色","price":"22.00","l_price":"20.00","name":"团购2","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181107/258e04d4e692e840a664bf52006f8977.png","detailid":321,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}},{"status":1,"orderid":326,"dsn":"20181119093028876953","account":"20.00","endtime":1542598228,"istuan":0,"tuanid":26,"need_num":2,"yun":"0.00","addtime":"2018-11-19 09:30:28","paytime":"2018-11-19 23:30:48","addressid":115,"ca_num":1,"ca_time":-82494,"total_num":1,"detail":[{"rule_name":"白色","price":"22.00","l_price":"20.00","name":"团购2","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181107/258e04d4e692e840a664bf52006f8977.png","detailid":320,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}},{"status":0,"orderid":325,"dsn":"20181119093024203643","account":"20.00","endtime":1542598224,"istuan":0,"tuanid":25,"need_num":2,"yun":"0.00","addtime":"2018-11-19 09:30:24","paytime":null,"addressid":115,"ca_num":2,"ca_time":-82498,"total_num":1,"detail":[{"rule_name":"白色","price":"22.00","l_price":"20.00","name":"团购2","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181107/258e04d4e692e840a664bf52006f8977.png","detailid":319,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}},{"status":1,"orderid":324,"dsn":"20181119093013853027","account":"20.00","endtime":1542598213,"istuan":0,"tuanid":24,"need_num":2,"yun":"0.00","addtime":"2018-11-19 09:30:13","paytime":"2018-11-19 09:30:15","addressid":115,"ca_num":1,"ca_time":-82509,"total_num":1,"detail":[{"rule_name":"白色","price":"22.00","l_price":"20.00","name":"团购2","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181107/258e04d4e692e840a664bf52006f8977.png","detailid":318,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}},{"status":1,"orderid":315,"dsn":"20181117162406407379","account":"20.00","endtime":1542450246,"istuan":0,"tuanid":23,"need_num":0,"yun":"0.00","addtime":"2018-11-17 16:24:06","paytime":"2018-11-17 16:24:07","addressid":115,"ca_num":-1,"ca_time":-230476,"total_num":1,"detail":[{"rule_name":"白色","price":"50.00","l_price":"20.00","name":"团购1","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181109/b8cd0d32a3cff5fd77721ae2e43f5058.png","detailid":309,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}},{"status":1,"orderid":314,"dsn":"20181117162109894439","account":"20.00","endtime":1542450069,"istuan":0,"tuanid":22,"need_num":2,"yun":"0.00","addtime":"2018-11-17 16:21:09","paytime":"2018-11-17 16:21:10","addressid":115,"ca_num":1,"ca_time":-230653,"total_num":1,"detail":[{"rule_name":"白色","price":"22.00","l_price":"20.00","name":"团购2","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181107/258e04d4e692e840a664bf52006f8977.png","detailid":308,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}},{"status":0,"orderid":313,"dsn":"20181117161150208618","account":"20.00","endtime":1542449510,"istuan":0,"tuanid":21,"need_num":2,"yun":"0.00","addtime":"2018-11-17 16:11:50","paytime":null,"addressid":115,"ca_num":2,"ca_time":-231212,"total_num":1,"detail":[{"rule_name":"白色","price":"22.00","l_price":"20.00","name":"团购2","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181107/258e04d4e692e840a664bf52006f8977.png","detailid":307,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}},{"status":1,"orderid":312,"dsn":"20181117161051864257","account":"20.00","endtime":1542449451,"istuan":0,"tuanid":20,"need_num":0,"yun":"0.00","addtime":"2018-11-17 16:10:51","paytime":"2018-11-19 23:30:58","addressid":115,"ca_num":-1,"ca_time":-231271,"total_num":1,"detail":[{"rule_name":"白色","price":"50.00","l_price":"20.00","name":"团购1","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181109/b8cd0d32a3cff5fd77721ae2e43f5058.png","detailid":306,"num":1,"account":"20.00"}],"address":{"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}}]
     */

    private String code;
    private String ms;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * status : 2
         * orderid : 329
         * dsn : 20181119093338856750
         * account : 20.00
         * endtime : 1542598418
         * istuan : 0
         * tuanid : 29
         * need_num : 0
         * yun : 0.00
         * addtime : 2018-11-19 09:33:38
         * paytime : 2018-11-19 09:33:41
         * addressid : 115
         * ca_num : -1
         * ca_time : -82304
         * total_num : 1
         * detail : [{"rule_name":"白色","price":"50.00","l_price":"20.00","name":"团购1","pic":"http://wdg.sanzhima.cn/oa/public/uploads/images/20181109/b8cd0d32a3cff5fd77721ae2e43f5058.png","detailid":323,"num":1,"account":"20.00"}]
         * address : {"id":115,"status":0,"name":"林帅","phone":"18739509196","address":"18739509196","province":"河南省","city":"郑州市","county":"中原区","uid":567,"type":1}
         */

        private int status;
        private long orderid;
        private String dsn;
        private String account;
        private long endtime;
        private int istuan;
        private long tuanid;
        private int need_num;
        private String yun;
        private String addtime;
        private String paytime;
        private int addressid;
        private int ca_num;
        private long ca_time;
        private int total_num;
        private AddressBean address;
        private List<DetailBean> detail;

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public long getOrderid() {
            return orderid;
        }

        public void setOrderid(long orderid) {
            this.orderid = orderid;
        }

        public String getDsn() {
            return dsn;
        }

        public void setDsn(String dsn) {
            this.dsn = dsn;
        }

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public long getEndtime() {
            return endtime;
        }

        public void setEndtime(long endtime) {
            this.endtime = endtime;
        }

        public int getIstuan() {
            return istuan;
        }

        public void setIstuan(int istuan) {
            this.istuan = istuan;
        }

        public long getTuanid() {
            return tuanid;
        }

        public void setTuanid(long tuanid) {
            this.tuanid = tuanid;
        }

        public int getNeed_num() {
            return need_num;
        }

        public void setNeed_num(int need_num) {
            this.need_num = need_num;
        }

        public String getYun() {
            return yun;
        }

        public void setYun(String yun) {
            this.yun = yun;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public String getPaytime() {
            return paytime;
        }

        public void setPaytime(String paytime) {
            this.paytime = paytime;
        }

        public int getAddressid() {
            return addressid;
        }

        public void setAddressid(int addressid) {
            this.addressid = addressid;
        }

        public int getCa_num() {
            return ca_num;
        }

        public void setCa_num(int ca_num) {
            this.ca_num = ca_num;
        }

        public long getCa_time() {
            return ca_time;
        }

        public void setCa_time(long ca_time) {
            this.ca_time = ca_time;
        }

        public int getTotal_num() {
            return total_num;
        }

        public void setTotal_num(int total_num) {
            this.total_num = total_num;
        }

        public AddressBean getAddress() {
            return address;
        }

        public void setAddress(AddressBean address) {
            this.address = address;
        }

        public List<DetailBean> getDetail() {
            return detail;
        }

        public void setDetail(List<DetailBean> detail) {
            this.detail = detail;
        }

        public static class AddressBean implements Serializable {
            /**
             * id : 115
             * status : 0
             * name : 林帅
             * phone : 18739509196
             * address : 18739509196
             * province : 河南省
             * city : 郑州市
             * county : 中原区
             * uid : 567
             * type : 1
             */

            private int id;
            private int status;
            private String name;
            private String phone;
            private String address;
            private String province;
            private String city;
            private String county;
            private int uid;
            private int type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getCounty() {
                return county;
            }

            public void setCounty(String county) {
                this.county = county;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }

        public static class DetailBean implements Serializable {
            /**
             * rule_name : 白色
             * price : 50.00
             * l_price : 20.00
             * name : 团购1
             * pic : http://wdg.sanzhima.cn/oa/public/uploads/images/20181109/b8cd0d32a3cff5fd77721ae2e43f5058.png
             * detailid : 323
             * num : 1
             * account : 20.00
             */

            private String rule_name;
            private String price;
            private String l_price;
            private String name;
            private String pic;
            private int detailid;
            private int num;
            private String account;

            public String getRule_name() {
                return rule_name;
            }

            public void setRule_name(String rule_name) {
                this.rule_name = rule_name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getL_price() {
                return l_price;
            }

            public void setL_price(String l_price) {
                this.l_price = l_price;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public int getDetailid() {
                return detailid;
            }

            public void setDetailid(int detailid) {
                this.detailid = detailid;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getAccount() {
                return account;
            }

            public void setAccount(String account) {
                this.account = account;
            }
        }
    }
}
